<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('log_role/accountlogin/flexigrid') ?>',
                    colModel: 
                    [
						{display: '<?= translate('LOG_ROLE_ID') ?>', name: 'id', width: '100', process: formatSearch},
						{display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_EVENT') ?>', name: 'eventid', width: '150'},
                        {display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_SRC') ?>', name: 'srcid', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_DITCH') ?>', name: 'chnlid', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_SERVER') ?>', name: 'svrid', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_ACCOUNTID') ?>', name: 'playerid', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_LEVEL') ?>', name: 'level', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_VIPLEVEL') ?>', name: 'viplvl', width: '150'},
                        {display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_LOGINTIME') ?>', name: 'time', width: '150'},
                        {display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_PARAM1') ?>', name: 'param1', width: '150'},
                        {display: '<?= translate('LOG_ROLE_ACCOUNTLOGIN_PARAM2') ?>', name: 'param2', width: '150'},

                    ],
                    buttons: [
                              {name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},
                              {separator: true}
                          ],
                }));                
            });
        </script>
    </body>
</html>